Skip to content

Example curation support#40

Open
david-andrew wants to merge 2 commits into
mainfrom
example-curation-support
Open

Example curation support#40
david-andrew wants to merge 2 commits into
mainfrom
example-curation-support

Conversation

@david-andrew

Copy link
Copy Markdown
Contributor

Update adhoc-api to version 2.0.2 which adds support for example curation

Changes

  • examples are no longer included in the documentation text body
  • examples get their own field in the api.yaml
  • examples are stored in examples.yaml instead of examples.md so that they can follow a common structure and be loaded via the !load_yaml tag
  • modified yaml loading:
    • !load tag replaced with !load_txt for loading raw text content from a file
    • added !load_yaml tag for loading structured content from a yaml file
    • added !load_json tag for loading structured content from a json file
    • removed string interpolation by default, and added !fill tag to mark which strings should be interpolated
  • added 2 LLM configs to adhoc-api:
    • curator: agent that identifies if any of the examples are a perfect match or close match for the current query
    • contextualizer: agent that converts the current query to a context free version

    NOTE: at the moment adhoc-api only supports openai agents for these two

I attempted to go through and update all the API specs to follow these changes. They appear to be working when I test them independently of Biome. The only one I'm not sure about if it's handled correctly is the src/biome/api_agent.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant